@font-face {
  font-family: 'Oleo Script Swash Caps';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/oleoscriptswashcaps/v13/Noaj6Vb-w5SFbTTAsZP_7JkCS08K-jCzDn_HMXo.ttf) format('truetype');
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Oleo Script Swash Caps', cursive;
}
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(45deg, #006bc6, #1ecafc);
}
.container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.container h2 {
  position: absolute;
  color: #ccc;
  font-size: 1.75em;
  font-weight: 500 ;
}
.loader {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.25);
  filter: url(#gooey);
}
.loader span {
  position: absolute;
  left: 0;
  transform-origin: 150px;
  background-color: #ccc;
  border-radius: 50%;
  animation: animate 5s ease-in-out infinite;
  animation-delay: calc(0.15s * var(--i));
}
svg {
  width: 0;
  height: 0;
}
@keyframes animate {
  0%,
  10% {
    width: 100px;
    height: 100px;
    transform: rotate(0deg) translateX(120px);
  }
  40%,
  70% {
    width: 20px;
    height: 20px;
    transform: rotate(calc(360deg / 12 * var(--i)));
    box-shadow: 0 0 0 10px #ccc;
  }
  90%,
  100% {
    width: 100px;
    height: 100px;
    transform: rotate(0deg) translateX(120px);
  }
}
